
from langdev_tools.file import list_directory

from langdev_core.llms.ollama_funcs import OllamaFunctions

LLM_PORT = 8080
model_name = 'qwen2:0.5b'
base_url = f"http://localhost:{LLM_PORT}"

llm_fc = OllamaFunctions(
    model=model_name,
    format="json",
    temperature=0.1,
	base_url= base_url,
)

print(
    llm_fc.invoke('7乘以8等于')
)

